package com.wuchao.convert.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author WuChao
 * @version 1.0
 * @date 2020/4/3 11:57
 */
@Component
@ConfigurationProperties(prefix = "serivce")
public class serviceConfig {
    private String rtsp_transport;
    private String output;
    private String codec;
    private String fmt;
    private String fps;
    private String bv;
    private String rs;

    public serviceConfig() {
    }

    public serviceConfig(String rtsp_transport, String output, String codec, String fmt, String fps, String bv, String rs) {
        this.rtsp_transport = rtsp_transport;
        this.output = output;
        this.codec = codec;
        this.fmt = fmt;
        this.fps = fps;
        this.bv = bv;
        this.rs = rs;
    }

    public String getRtsp_transport() {
        return rtsp_transport;
    }

    public void setRtsp_transport(String rtsp_transport) {
        this.rtsp_transport = rtsp_transport;
    }

    public String getOutput() {
        return output;
    }

    public void setOutput(String output) {
        this.output = output;
    }

    public String getCodec() {
        return codec;
    }

    public void setCodec(String codec) {
        this.codec = codec;
    }

    public String getFmt() {
        return fmt;
    }

    public void setFmt(String fmt) {
        this.fmt = fmt;
    }

    public String getFps() {
        return fps;
    }

    public void setFps(String fps) {
        this.fps = fps;
    }

    public String getBv() {
        return bv;
    }

    public void setBv(String bv) {
        this.bv = bv;
    }

    public String getRs() {
        return rs;
    }

    public void setRs(String rs) {
        this.rs = rs;
    }
}
